<style type="text/css">
	tr.hidden{display:none}
</style>
<script type="text/javascript">
//<![CDATA[
	function frmValid(){
		with(document.frmReg){
			submit();
		}
	}


	$.datepicker.setDefaults({
		dateFormat: 'yy-mm-dd'
	});

	$(function(){
		//삭제버튼
		if($("[name=dbjob]").val() == 'u'){ 
			$(".btnDelete").show();
		}else{
			$(".btnDelete").hide();
		}

		$(".lines tr").each(function(){
			if($(this).attr('class').indexOf($("[name=method]").val()) == -1){
				$(this).addClass('hidden');
			}else{
				$(this).removeClass('hidden');
			}
		});
	});
//]]>
</script>
<div class="box_type02">
	<h2 class="txt"><?php echo $_title;?></h2>
	<p class="icon"><a href="javascript:void(0);" class="icon_m04">매뉴얼</a></p>
	<form name="frmReg" method="post" action="/seo/seoDbjob" enctype="multipart/form-data">
	<input type="hidden" name="dbjob" value="<?php echo $dbjob;?>">
	<input type="hidden" name="method" value="<?php echo $_method;?>">
	<input type="hidden" name="id" value="<?php echo $seo_id;?>">
	<fieldset class="board_write">
		<legend><?php echo $_title;?></legend>
		<table cellspacing="0" summary="<?php echo $_title;?>" class="lines">
			<caption>키워드 설정</caption>
			<tr class="keyword">
				<th scope="row" width="140"><label for="st_day" class="point">타이틀</label></th>
				<td>
					<div>
					<input type="text" name="title" class="ip_i" style="width:584px;" value="<?php echo $title;?>" />
					</div>
				</td>
			</tr>
			<tr class="keyword">
				<th scope="row"><label for="st_day" class="point">키워드</label></th>
				<td>
					<div>
						<textarea name="keyword" rows="" cols="" class="ip_t"><?php echo $keyword;?></textarea>
					</div>
				</td>
			</tr>
			<tr class="keyword">
				<th scope="row"><label for="st_day" class="point">설명</label></th>
				<td>
					<div>
						<textarea name="descript" rows="" cols="" class="ip_t"><?php echo $description;?></textarea>
					</div>
					
				</td>
			</tr>
			<tr class="script">
				<th scope="row" width="140" valign="top"><label for="st_day" class="point">스크립트 입력</label></th>
				<td>
					<div>
						<textarea name="script" rows="" cols="" class="ip_t"><?php echo $script;?></textarea>
					</div>
				</td>
			</tr>
		</table>
	</fieldset>
	</form>

	<!-- [s] 버튼 -->
	<ul class="botton_box mt30">
		<li class="center">
			<a href="javascript:frmValid();"><img src="/theme/<?=$_theme?>/images/common/btn_ok.gif" alt="확인" /></a>
			<a href="javascript:frmReg.reset();"><img src="/theme/<?=$_theme?>/images/common/btn_cancel.gif" alt="취소" /></a>
		</li>
	</ul>
	<!-- [e] 버튼 -->

	<!--[s] Tip -->
	<dl id="tip" class="mt30">
		<dt>Tip</dt>
		<dd>인터넷익스플로러의 '호환성보기' 기능을 사용중인 접속자에게 자동으로 최신버전 기준으로 사이트를 출력하도록 처리합니다.</dd>
		<dd>코딩방식에 따라 특정 버전의 브라우저에서 사이트가 깨질수 있으니, 충분한 테스트 후 기능을 설정해 주시기 바랍니다.</dd>
	</dl>
	<!--[e] Tip -->
</div>